import App from './App'

import Vue from 'vue'

// css样式引入
// import 'element-ui/lib/theme-chalk/index.css'
// import element from 'src/element/index.js'
// Vue.use(element)

const Api = require("@/common/api.js")
Vue.prototype.$Api = Api

const Func = require("@/common/function.js")
Vue.prototype.$Func = Func

const Db = require("@/common/sqline.js")
Vue.prototype.$Db = Db


Vue.config.productionTip = false

//全局函数
/* const msgss = (title)=>{
	console.log(title)
}
Vue.prototype.$gFunc = {msgss,msgss22}; */

App.mpType = 'app'
const app = new Vue({
	...App
})

app.$mount()

import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
